﻿<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
	<title>DOM动态创建元素</title>
	<script>
		function add(){
			//在此编写代码
		}
	</script>
</head>
<body>
	<input type="text" id="txt">
	<input type="button" id="btn1" value="添加" onClick="add();">
		<select id="list">
			<option>苹果</option>
			<option>香蕉</option>
			<option>梨</option>
		</select>
</body>
</html>